home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
cool
/
cool.lha
/
lice
/
Makeclassestargs
< prev
next >
Wrap
Text File
|
1991-09-04
|
2KB
|
80 lines
#
# Copyright (C) 1991 Texas Instruments Incorporated.
#
# Permission is granted to any individual or institution to use, copy, modify,
# and distribute this software, provided that this complete copyright and
# permission notice is maintained, intact, in all copies and supporting
# documentation.
#
# Texas Instruments Incorporated provides this software "as is" without
# express or implied warranty.
#
.SUFFIXES: .a .C .o
.C.o:
$(CC) $(CCFLAGS) $(DEFINES) $(INCLUDES) $*.C
$(LIBNAME): $(LIBDIR)/$(LIBPRE)$(LIBNAME)$(LIBSUF)
$(LIBDIR)/$(LIBPRE)$(LIBNAME)$(LIBSUF): $(OBJECTS)
$(AR) $(ARFLAGS) $(LIBDIR)/$(LIBPRE)$(LIBNAME)$(LIBSUF) $?
$(RANLIB) $(LIBDIR)/$(LIBPRE)$(LIBNAME)$(LIBSUF)
$(SUBDIRS): always
$(CD) $@; $(MAKE) $(TARGET)
all: $(LIBNAME)
@for DIR in $(SUBDIRS) ''; do\
if test $$DIR; then\
$(MAKE) TARGET=$@ $$DIR;\
fi\
done
allclean: clean
@for DIR in $(SUBDIRS) ''; do\
if test $$DIR; then\
$(MAKE) TARGET=$@ $$DIR;\
fi\
done
alldepend: depend
@for DIR in $(SUBDIRS) ''; do\
if test $$DIR; then\
$(MAKE) TARGET=$@ $$DIR;\
fi\
done
allinstall: install
@for DIR in $(SUBDIRS) ''; do\
if test $$DIR; then\
$(MAKE) TARGET=$@ $$DIR;\
fi\
done
alllink: link
@for DIR in $(SUBDIRS) ''; do\
if test $$DIR; then\
$(MAKE) TARGET=$@ $$DIR;\
fi\
done
always:
clean:
- $(RM) $(OBJECTS) $(BACKUPS)
depend: $(HEADERS) $(SOURCES)
$(MKDEPEND) $(DEFINES) $(INCLUDES) $(HEADERS) $(SOURCES)
install:
link:
@for HEADER in $(HEADERS) ''; do\
if test $$HEADER; then\
$(ECHO) " Creating symbolic link for " $$HEADER;\
$(RM) $(LINKDIR)/$$HEADER;\
$(LN) $(CURDIR)$$HEADER $(LINKDIR);\
fi\
done